//void, Obj owner

Unit this;
int random;
this = owner.AsUnit;

if (!.IsValid) return;

random = rand(6); 

if (owner.IsValid()){
	
	if(random == 0)
		.AddBonus(rand(10)+1,0,0,0,0);
	if(random == 1)
		.AddBonus(0,rand(10)+1,0,0,0);
	if(random == 2)
		.AddBonus(0,0,0,rand(2)+1,0);
	if(random == 3)
		.SetLevel(.inherentlevel+rand(4)+1);
	if(random == 4)
		.AddItem("Healing water");
	if(random == 5){
		.AddBonus(rand(10)+1,rand(10)+1,0,rand(2)+1,0); 
		.SetLevel(.inherentlevel+rand(2)+1);
	}        
}

